package name.vaccari.matteo.tai.chat.util;

import java.io.PrintWriter;

import org.junit.Test;

import static org.junit.Assert.assertEquals;


public class FakeHttpResponseTest {

	@Test
	public void testname() throws Exception {
		FakeHttpResponse response = new FakeHttpResponse();
		
		PrintWriter writer = response.getWriter();
		writer.print("ciao");
		writer.flush();
		
		assertEquals("ciao", response.getResponseText());		
	}
}
